﻿using System;
using System.Collections.Specialized;
using System.ServiceModel;
using Domain.Dummies.Dtos;
using Domain.Dummies.Dtos.Collections;

namespace Services.Dummies.LibraryService
{
    [ServiceContract]
    public interface ILibraryService
    {
        [OperationContract]
        Guid CreateBookRecord(SessionDto session, NameValueCollection attributes);

        [OperationContract]
        BooksBaseListDto GetBookRecord(SessionDto session, BookDto book);

        [OperationContract]
        bool UpdateBookRecord(SessionDto session, Guid bookId, NameValueCollection attributes);

        [OperationContract]
        BooksListDto GetBooksGotByPerson(SessionDto session, Guid PersonGuid);
    }
}
